<?php
/**
 * Created by PhpStorm.
 * User: Edward
 * Date: 2019/6/3
 * Time: 14:18
 */

namespace app\Validate;


class CreateEnterpriseValidate extends BaseValidate {
    protected $rule = [
        'enterprise_name' => 'require|length:2,25',
        'enterprise_person_name' =>'require',
        'contact_number' =>'require|mobile',
        'front_id_card' => 'require',
        'back_id_card' =>'require',
        'hand_id_card' =>'require',
        'licence' =>'require'
    ];
    protected $message = [
        'enterprise_name' => '公司名称',
        'enterprise_person_name' =>'法人名称 ',
        'contact_number' =>'请输入正确的手机号',
        'front_id_card' => '请上传身份证正面',
        'back_id_card' =>'请上传身份证背面',
        'hand_id_card' =>'请上传本人手持身份证',
        'licence' =>'请上传营业许可证'
    ];


}